package com.xcity.pomelo.response;

import com.xcity.db.entity.Player;

import naga.x.net.impl.pomelo.PomeloMessage;
import naga.x.net.impl.pomelo.protocol.Message;

@Deprecated
@PomeloMessage(type = Message.Type.RESPONSE)
public class BuildTakeMoneyResponse extends Response {
	private long rolerGold;
	private long rolerTotalGold;

	public BuildTakeMoneyResponse(int serial, Player player) {
		super(serial);
		this.rolerGold = player.getGold();
		this.rolerTotalGold = player.getFixedAssets();
	}
	
	public long getRolerGold() {
		return rolerGold;
	}

	public void setRolerGold(long rolerGold) {
		this.rolerGold = rolerGold;
	}

	public long getRolerTotalGold() {
		return rolerTotalGold;
	}

	public void setRolerTotalGold(long rolerTotalGold) {
		this.rolerTotalGold = rolerTotalGold;
	}
}
